import Vue from 'vue'
import Router from 'vue-router'
import {createRoute} from "./RouterUtil";
import HelloWorld from '@/components/HelloWorld'
import demo from "../components/demo"

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/demo',
      name: 'demo',
      component: demo
    }
  ]
})
